package com.kb.dto.iems;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@Schema(description = "订单BOM异常回复DTO")
public class OrderBomErrorDetailRecordReplyDTO {


    @Schema(description = "kb_iems_order_bom_error_record主键")
    @NotBlank(message = "kb_iems_order_bom_error_record主键不能为空")
    private String orderBomErrorRecordId;

    @Schema(description = "装配图异常回复信息")
    private String assemblyErrorReplyMessage;

    @Schema(description = "装配图异常回复信息")
    private String coordinatesErrorReplyMessage;

    @Schema(description = "订单BOM异常回复详情DTO")
    private List<OrderBomErrorDetailRecordReplyDataDTO> dataDTOList;


    @Data
    @Schema(description = "订单BOM异常回复DTO")
    public static class OrderBomErrorDetailRecordReplyDataDTO {
        @Schema(description = "主键id")
        @NotBlank(message = "主键id不能为空")
        private String id;


        @Schema(description = "客户回复信息")
        @NotBlank(message = "客户回复信息不能为空")
        private String customerReplyMessage;
    }
}